package com.chinasoft.ecommerceconsumptionanalysissystem.service.impl;

import com.chinasoft.ecommerceconsumptionanalysissystem.mapper.UserPowerBySexMapper;
import com.chinasoft.ecommerceconsumptionanalysissystem.pojo.UserPowerBySex;
import com.chinasoft.ecommerceconsumptionanalysissystem.service.UserPowerBySexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserPowerBySexServiceImpl implements UserPowerBySexService {
    @Autowired
    private UserPowerBySexMapper userPowerBySexMapper;

    @Override
    public List<UserPowerBySex> selectAll() {
        return userPowerBySexMapper.selectAll();
    }

    @Override
    public int insert(UserPowerBySex userPowerBySex) {
        return userPowerBySexMapper.insert(userPowerBySex);
    }
}
